﻿<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page contentType="text/html;charset=UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<title>登录注册</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<script type="text/javascript"
		src="${pageContext.request.contextPath}/admin/assets/js/jquery-1.9.0.min.js"></script>
	<script type="text/javascript"
		src="${pageContext.request.contextPath}/admin/assets/js/login.js"></script>
	<script type="text/javascript"
		src="${pageContext.request.contextPath}/admin/assets/js/vidbg.js"></script>
	<link
		href="${pageContext.request.contextPath}/admin/assets/css/login2.css"
		rel="stylesheet" type="text/css" />
		<link href="${pageContext.request.contextPath}/admin/css/bootstrap.min.css" rel="stylesheet">
        <link href="${pageContext.request.contextPath}/admin/css/form.css" rel="stylesheet">
        <link href="${pageContext.request.contextPath}/admin/css/style.css" rel="stylesheet">
        <link href="${pageContext.request.contextPath}/admin/css/animate.css" rel="stylesheet">
        <link href="${pageContext.request.contextPath}/admin/css/generics.css" rel="stylesheet"> 
</head>

<body>
	<h1>
		后台登录<sup>D</sup>
	</h1>
<div class="block-area" id="basic">
	<div class="login" style="margin-top:50px;" id="skin-blur-violate" class="tile p-15">
		<div class="header">
			<div class="switch" id="switch">
				<a class="switch_btn_focus" id="switch_qlogin"
					href="javascript:void(0);" tabindex="7">快速登录</a> <a
					class="switch_btn" id="switch_login" href="javascript:void(0);"
					tabindex="8">快速注册</a>
				<div class="switch_bottom" id="switch_bottom"
					style="position: absolute; width: 64px; left: 0px;"></div>
			</div>
		</div>

		<div class="web_qr_login" id="web_qr_login"
			style="display: block; height: 310px;">

			<!--登录-->
			<div class="web_login" id="web_login">
			<ul class="reg_form" id="reg-ul">
			<div id="userCue" class="cue">
				<div align="center" style="color: red; font-size: 20px;">
					<small
						<c:if test="${requestScope.errorFlags== null || !requestScope.errorFlags}">style="display:none;"</c:if>>${requestScope.message
						}</small>
				</div>
				</div>
				<div class="login-box">

					<div class="login_form">
						<form action="${pageContext.request.contextPath}/system/user/login" name="loginform"
							accept-charset="utf-8" id="login_form" class="loginForm"
							method="post" role="form">
							
							<input type="hidden" name="did" value="0" /> <input
								type="hidden" name="to" value="log" />
							<div class="uinArea" id="uinArea" >
								<label class="input-tips" for="u">帐号：</label>
								<div class="inputOuter" id="uArea">

									<input type="text" id="u" name="username" class="form-control input-sm" />
								</div>
							</div>
							<div class="pwdArea" id="pwdArea">
								<label class="input-tips" for="p">密码：</label>
								<div class="inputOuter" id="pArea">

									<input type="password" id="password" name="password"
										class="form-control input-sm"/>
								</div>
							</div>

							<div style="padding-left:50px;margin-top:20px;">
								<input type="submit" value="登 录" style="width:150px;"
									class="btn btn-sm m-t-10" />
							</div>
						</form>
					</div>

				</div>

			</div>
			<!--登录end-->
		</div>

		<!--注册-->
		<div class="qlogin" id="qlogin" style="display: none; ">

			<div class="web_login">
				<form name="form2" id="regUser" accept-charset="utf-8" action=""
					method="post">
					<input type="hidden" name="to" value="reg" /> <input type="hidden"
						name="did" value="0" />
					<ul class="reg_form" id="reg-ul">
						<div id="userCue1" class="cue">快速注册请注意格式</div>
						<li><label for="user" class="input-tips2">用户名：</label>
							<div class="inputOuter2">
								<input type="text" id="username" name="userName" maxlength="16"
									class="form-control input-sm" />
							</div>
						</li>

						<li><label for="passwd" class="input-tips2">密码：</label>
							<div class="inputOuter2">
								<input type="password" id="passwd" name="password"
									maxlength="16" class="form-control input-sm" />
							</div>
						</li>
						<li><label for="passwd2" class="input-tips2">重密码：</label>
							<div class="inputOuter2">
								<input type="password" id="passwd2" name="" maxlength="16"
									class="form-control input-sm" />
							</div>
						</li>

                           <!--  <div style="padding-left:50px;margin-top:20px;">
								<input type="submit" value="登 录" style="width:150px;" class="btn btn-sm m-t-10" />
							</div> -->
						
							<div  style="padding-left:20px;margin-top:20px; text-align: center;">
								<input type="button" id="reg" class="btn btn-sm m-t-10" value="注册" style="width:150px;"/> 
							</div>
					
						<div class="cl"></div>
					</ul>
				</form>

			</div>

		</div>
		<!--注册end-->
	</div>
	</div>
	<div class="jianyi">*推荐使用ie8或以上版本ie浏览器或Chrome内核浏览器访问本站</div>
</body>

<script type="text/javascript">
	jQuery(function($) {
		$('body')
				.vidbg(
						{
							'webm' : '${pageContext.request.contextPath}/admin/assets/webm/ccc.webm',
						}, {
							// Options
							muted : true,
							loop : true,
							overlay : true,
						});
	});
</script>


</html>